﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace Spring.MvcQuickStart.Models
{

    #region Models
    public class BookModel
    {
        [Required]
        [DataType(DataType.Text)]
        [DisplayName("BookName")]
        public string BookName { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [DisplayName("Author")]
        public string Author { get; set; }

        [Required]
        [DataType(DataType.Date)]
        [DisplayName("Year")]
        public string Year { get; set; }
    }
  
    #endregion
}
